﻿using System;

using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace OneSearch
{
    public partial class frm_Search : Form
    {
        string str_google = "http://www.google.com/search?hl=zh-CN&q=";
        string str_baidu = "http://www.baidu.com/s?wd=";
        public frm_Search()
        {
            InitializeComponent();
        }

        private void menuItem1_Click(object sender, EventArgs e)
        {
            Uri uri = new Uri(str_google + this.textBox1.Text);
            frm_Web f1 = new frm_Web(uri);
            f1.Show();
        }
    }
}